package shujia.day16.factoryFunction;

public class Tiger extends Animal {
    public Tiger() {
    }

    public Tiger(String name, int age) {
        super(name, age);
    }

    @Override
    public void eat() {
        System.out.println("🐅吃🥩");
    }

    @Override
    public void sleep() {
        System.out.println("🐅趴着睡");
    }
}
